Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnitView


GetProperty

The GetProperty method returns the name of the property in the focus context.

ODPropertyName GetProperty ();
return value
The name of the property in the focus context.
DISCUSSION
When you no longer need the returned property name, you should deallocate it.

EXCEPTIONS
kODErrUnfocusedStorageUnit
The focus context of this storage-unit view is not a property or a value.
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the FocusWithCursor method of that storage unit.

SEE ALSO
The ODPropertyName type (page 904).
The ODStorageUnitView::AddProperty method (page 728).
The ODStorageUnitView::Remove method (page 754).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help